﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace DataLibrary.Entity
{
    public class FileMagic
    {
        [Key]
        public string Id { get; set; }
        /// <summary>
        /// 文件名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 文件MD5
        /// </summary>
        public string MD5 { get; set; }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string Route { get; set; }
        /// <summary>
        /// 文件夹名称
        /// </summary>
        public string Folder { get; set; }

        public string ProductId { get; set; }
        public virtual Product Product { get; set; }
    }
}
